Optimal. Leaf size=174 \[ -\frac {(x+47) \left (3 x^2+5 x+2\right )^{7/2}}{14 (2 x+3)}+\frac {(8310 x+283) \left (3 x^2+5 x+2\right )^{5/2}}{1440}-\frac {(6925-151098 x) \left (3 x^2+5 x+2\right )^{3/2}}{13824}-\frac {(1454315-3037062 x) \sqrt {3 x^2+5 x+2}}{110592}+\frac {15434623 \tanh ^{-1}\left (\frac {6 x+5}{2 \sqrt {3} \sqrt {3 x^2+5 x+2}}\right )}{221184 \sqrt {3}}-\frac {9225}{512} \sqrt {5} \tanh ^{-1}\left (\frac {8 x+7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 174, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {812, 814, 843, 621, 206, 724} \begin {gather*} -\frac {(x+47) \left (3 x^2+5 x+2\right )^{7/2}}{14 (2 x+3)}+\frac {(8310 x+283) \left (3 x^2+5 x+2\right )^{5/2}}{1440}-\frac {(6925-151098 x) \left (3 x^2+5 x+2\right )^{3/2}}{13824}-\frac {(1454315-3037062 x) \sqrt {3 x^2+5 x+2}}{110592}+\frac {15434623 \tanh ^{-1}\left (\frac {6 x+5}{2 \sqrt {3} \sqrt {3 x^2+5 x+2}}\right )}{221184 \sqrt {3}}-\frac {9225}{512} \sqrt {5} \tanh ^{-1}\left (\frac {8 x+7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 621
Rule 724
Rule 812
Rule 814
Rule 843
Rubi steps
\begin {align*} \int \frac {(5-x) \left (2+5 x+3 x^2\right )^{7/2}}{(3+2 x)^2} \, dx &=-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}-\frac {1}{8} \int \frac {(-462-554 x) \left (2+5 x+3 x^2\right )^{5/2}}{3+2 x} \, dx\\ &=\frac {(283+8310 x) \left (2+5 x+3 x^2\right )^{5/2}}{1440}-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}+\frac {\int \frac {(84678+100732 x) \left (2+5 x+3 x^2\right )^{3/2}}{3+2 x} \, dx}{1152}\\ &=-\frac {(6925-151098 x) \left (2+5 x+3 x^2\right )^{3/2}}{13824}+\frac {(283+8310 x) \left (2+5 x+3 x^2\right )^{5/2}}{1440}-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}-\frac {\int \frac {(-10251972-12148248 x) \sqrt {2+5 x+3 x^2}}{3+2 x} \, dx}{110592}\\ &=-\frac {(1454315-3037062 x) \sqrt {2+5 x+3 x^2}}{110592}-\frac {(6925-151098 x) \left (2+5 x+3 x^2\right )^{3/2}}{13824}+\frac {(283+8310 x) \left (2+5 x+3 x^2\right )^{5/2}}{1440}-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}+\frac {\int \frac {633068856+740861904 x}{(3+2 x) \sqrt {2+5 x+3 x^2}} \, dx}{5308416}\\ &=-\frac {(1454315-3037062 x) \sqrt {2+5 x+3 x^2}}{110592}-\frac {(6925-151098 x) \left (2+5 x+3 x^2\right )^{3/2}}{13824}+\frac {(283+8310 x) \left (2+5 x+3 x^2\right )^{5/2}}{1440}-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}+\frac {15434623 \int \frac {1}{\sqrt {2+5 x+3 x^2}} \, dx}{221184}-\frac {46125}{512} \int \frac {1}{(3+2 x) \sqrt {2+5 x+3 x^2}} \, dx\\ &=-\frac {(1454315-3037062 x) \sqrt {2+5 x+3 x^2}}{110592}-\frac {(6925-151098 x) \left (2+5 x+3 x^2\right )^{3/2}}{13824}+\frac {(283+8310 x) \left (2+5 x+3 x^2\right )^{5/2}}{1440}-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}+\frac {15434623 \operatorname {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {5+6 x}{\sqrt {2+5 x+3 x^2}}\right )}{110592}+\frac {46125}{256} \operatorname {Subst}\left (\int \frac {1}{20-x^2} \, dx,x,\frac {-7-8 x}{\sqrt {2+5 x+3 x^2}}\right )\\ &=-\frac {(1454315-3037062 x) \sqrt {2+5 x+3 x^2}}{110592}-\frac {(6925-151098 x) \left (2+5 x+3 x^2\right )^{3/2}}{13824}+\frac {(283+8310 x) \left (2+5 x+3 x^2\right )^{5/2}}{1440}-\frac {(47+x) \left (2+5 x+3 x^2\right )^{7/2}}{14 (3+2 x)}+\frac {15434623 \tanh ^{-1}\left (\frac {5+6 x}{2 \sqrt {3} \sqrt {2+5 x+3 x^2}}\right )}{221184 \sqrt {3}}-\frac {9225}{512} \sqrt {5} \tanh ^{-1}\left (\frac {7+8 x}{2 \sqrt {5} \sqrt {2+5 x+3 x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 130, normalized size = 0.75 \begin {gather*} \frac {418446000 \sqrt {5} \tanh ^{-1}\left (\frac {-8 x-7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )+540211805 \sqrt {3} \tanh ^{-1}\left (\frac {6 x+5}{2 \sqrt {9 x^2+15 x+6}}\right )-\frac {6 \sqrt {3 x^2+5 x+2} \left (7464960 x^7-13893120 x^6-125632512 x^5-273531168 x^4-275126016 x^3-179819084 x^2+28017108 x+259165107\right )}{2 x+3}}{23224320} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 1.04, size = 131, normalized size = 0.75 \begin {gather*} \frac {15434623 \tanh ^{-1}\left (\frac {\sqrt {3 x^2+5 x+2}}{\sqrt {3} (x+1)}\right )}{110592 \sqrt {3}}-\frac {9225}{256} \sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {3 x^2+5 x+2}}{\sqrt {5} (x+1)}\right )+\frac {\sqrt {3 x^2+5 x+2} \left (-7464960 x^7+13893120 x^6+125632512 x^5+273531168 x^4+275126016 x^3+179819084 x^2-28017108 x-259165107\right )}{3870720 (2 x+3)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 159, normalized size = 0.91 \begin {gather*} \frac {540211805 \, \sqrt {3} {\left (2 \, x + 3\right )} \log \left (4 \, \sqrt {3} \sqrt {3 \, x^{2} + 5 \, x + 2} {\left (6 \, x + 5\right )} + 72 \, x^{2} + 120 \, x + 49\right ) + 418446000 \, \sqrt {5} {\left (2 \, x + 3\right )} \log \left (-\frac {4 \, \sqrt {5} \sqrt {3 \, x^{2} + 5 \, x + 2} {\left (8 \, x + 7\right )} - 124 \, x^{2} - 212 \, x - 89}{4 \, x^{2} + 12 \, x + 9}\right ) - 12 \, {\left (7464960 \, x^{7} - 13893120 \, x^{6} - 125632512 \, x^{5} - 273531168 \, x^{4} - 275126016 \, x^{3} - 179819084 \, x^{2} + 28017108 \, x + 259165107\right )} \sqrt {3 \, x^{2} + 5 \, x + 2}}{46448640 \, {\left (2 \, x + 3\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.45, size = 861, normalized size = 4.95
result too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 232, normalized size = 1.33 \begin {gather*} \frac {9225 \sqrt {5}\, \arctanh \left (\frac {2 \left (-4 x -\frac {7}{2}\right ) \sqrt {5}}{5 \sqrt {-16 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}\right )}{512}+\frac {15434623 \sqrt {3}\, \ln \left (\frac {\left (3 x +\frac {5}{2}\right ) \sqrt {3}}{3}+\sqrt {-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}\right )}{663552}-\frac {13 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {9}{2}}}{10 \left (x +\frac {3}{2}\right )}-\frac {369 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{140}+\frac {277 \left (6 x +5\right ) \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}}}{288}+\frac {25183 \left (6 x +5\right ) \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{13824}+\frac {506177 \left (6 x +5\right ) \sqrt {-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}}{110592}-\frac {369 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}}}{80}-\frac {615 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{64}-\frac {9225 \sqrt {-16 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}{512}+\frac {13 \left (6 x +5\right ) \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{20} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.31, size = 192, normalized size = 1.10 \begin {gather*} -\frac {1}{28} \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {7}{2}} + \frac {277}{48} \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {5}{2}} x + \frac {283}{1440} \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {5}{2}} - \frac {13 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {7}{2}}}{4 \, {\left (2 \, x + 3\right )}} + \frac {25183}{2304} \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}} x - \frac {6925}{13824} \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}} + \frac {506177}{18432} \, \sqrt {3 \, x^{2} + 5 \, x + 2} x + \frac {15434623}{663552} \, \sqrt {3} \log \left (\sqrt {3} \sqrt {3 \, x^{2} + 5 \, x + 2} + 3 \, x + \frac {5}{2}\right ) + \frac {9225}{512} \, \sqrt {5} \log \left (\frac {\sqrt {5} \sqrt {3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac {5}{2 \, {\left | 2 \, x + 3 \right |}} - 2\right ) - \frac {1454315}{110592} \, \sqrt {3 \, x^{2} + 5 \, x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} -\int \frac {\left (x-5\right )\,{\left (3\,x^2+5\,x+2\right )}^{7/2}}{{\left (2\,x+3\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- \frac {40 \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\right )\, dx - \int \left (- \frac {292 x \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\right )\, dx - \int \left (- \frac {870 x^{2} \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\right )\, dx - \int \left (- \frac {1339 x^{3} \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\right )\, dx - \int \left (- \frac {1090 x^{4} \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\right )\, dx - \int \left (- \frac {396 x^{5} \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\right )\, dx - \int \frac {27 x^{7} \sqrt {3 x^{2} + 5 x + 2}}{4 x^{2} + 12 x + 9}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________